projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4158c17
)
[USG] (SIGIO): Define as SIGPOLL.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 12 Jan 1994 04:48:56 +0000
(
04:48
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 12 Jan 1994 04:48:56 +0000
(
04:48
+0000)
(main) [USG]: Do ioctl to enable SIGPOLL.
lib-src/timer.c
patch
|
blob
|
history
diff --git
a/lib-src/timer.c
b/lib-src/timer.c
index cb7c4c0b2b12b629995a85a0676394305f12dea2..0b47fac39172310fa9d0fc90b403651be103470e 100644
(file)
--- a/
lib-src/timer.c
+++ b/
lib-src/timer.c
@@
-20,7
+20,7
@@
#include <../src/config.h>
#ifdef USG
#undef SIGIO
-#define SIGIO
SIGUSR1
+#define SIGIO
SIGPOLL
#endif
#ifdef LINUX
@@
-291,6
+291,9
@@
main (argc, argv)
fprintf (stderr, "%s\n", strerror (errno));
exit (1);
}
+#else /* USG */
+ /* Register this process for SIGPOLL. */
+ ioctl (0, I_SETSIG, S_RDNORM);
#endif /* USG */
/* In case Emacs sent some input before we set up